"""
绘图样式配置脚本
- 包含中文字体设置（如 PingFang SC）和统一绘图风格
"""

def set_chinese_font():
    """设置 matplotlib 中文字体为 PingFang SC"""
    import matplotlib.pyplot as plt
    plt.rcParams['font.sans-serif'] = ['PingFang SC']
    plt.rcParams['axes.unicode_minus'] = False

def set_plot_style():
    """统一绘图风格"""
    import matplotlib.pyplot as plt
    plt.style.use('seaborn-v0_8')
